/*
 * @Author: 梦付千秋星垂野 465943794@qq.com
 * @Date: 2022-10-08 13:59:24
 * @LastEditors: 梦付千秋星垂野 465943794@qq.com
 * @LastEditTime: 2022-10-08 13:59:31
 * @FilePath: /practise--chat-app-react-nodejs/pubilc/test/test_function.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
function log(x, y = 'World') {
    console.log(x, y);
  }
  
  log('Hello') // Hello World
  log('Hello', 'China') // Hello China
  log('Hello', '') // Hello